﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <script src="../jquery-2.0.3.js"></script>
</head>
<body>
<script>
    alert('(' + '   111   '.trim() + ')'); //字符串的去前后空格方法


    function Aaa() { }
    Aaa.prototype.init = function () { }
    Aaa.prototype.css = function () { }
    var a1 = new Aaa();
    a1.init();
    a1.css();


    function jQ() {
        return new jQ.prototype.init();
    }
    jQ.prototype.init = function() { }
    jQ.prototype.css = function () { alert('(css)') }
    jQ.prototype.init.prototype = jQ.prototype;
    jQ().css();

</script>
</body>
</html>